package com.onesports.intelligent.k12.polarlight.domain.dto.sys;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @description: SysUserAddDTO
 * @date 2021年05月19日 16:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUserAddDTO {

    @ApiModelProperty(value = "手机号")
    private String phone;

    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "角色")
    private List<String> roles;

    @ApiModelProperty(value = "状态")
    private String status;
}
